//
//  PhotoListViewController.h
//  iFlickr
//
//  Created by 张 霄鹤 on 09-9-6.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

/**
 * 图像显示表格
 */
@interface PhotoListViewController : UIViewController {
	/**
	 * 图像信息存储区
	 */
	NSMutableArray *photos;
	/**
	 * 当前页数
	 */
	NSInteger currentPage;
	
	IBOutlet UIImageView *img1;
	
	IBOutlet UIImageView *img2;
	
	IBOutlet UIImageView *img3;
	
	IBOutlet UIImageView *img4;
	
	IBOutlet UIImageView *img5;
	
	IBOutlet UIImageView *img6;
	
	IBOutlet UIImageView *img7;
	
	IBOutlet UIImageView *img8;
	
	IBOutlet UIImageView *img9;
}

/**
 * 装载所有的图片列表数据
 *
 */
-(void)loadPhotoList:(NSArray *)ps;

/**
 * 装载第几页
 */
-(void)loadPhotosInPage:(NSInteger)page;

-(void)setImage:(NSInteger)index withImage:(UIImage *)img;

/**
 * 重置所有图像
 */
-(void)resetImage;

@end
